* lisp/emacs-lisp/cl-macs.el (cl-typep): Add docstring.
authorAndrea Corallo <acorallo@gnu.org>
Wed, 10 Apr 2024 13:27:46 +0000 (15:27 +0200)
committerAndrea Corallo <acorallo@gnu.org>
Wed, 10 Apr 2024 13:30:08 +0000 (15:30 +0200)
lisp/emacs-lisp/cl-macs.el

index a84ef4a34b237883b460106d785a6f0425e77ab6..1350e474d6aebdd28703d4d2c7f6934e49992855 100644 (file)
@@ -3479,6 +3479,7 @@ Of course, we really can't know that for sure, so it's just a heuristic."
 
 ;;;###autoload
 (define-inline cl-typep (val type)
+  "Return t if VAL is of type TYPE, nil otherwise."
   (inline-letevals (val)
     (pcase (inline-const-val type)
       ((and `(,name . ,args) (guard (get name 'cl-deftype-handler)))